import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

// let baseUrl = "http://192.168.1.63:8080/parFamilyMeals"
let baseUrl = "http://192.168.0.101:8080/parFamilyMeals"

Vue.prototype.url = {
	"wx":{
		"login" : baseUrl + "/app/wx/login", //微信登录
		"microAppPayOrder": baseUrl + "/app/wx/microAppPayOrder", //微信小程序付款
		"updateOrderStatus": baseUrl + "/app/wx/updateOrderStatus" //更改微信小程序订单状态
	},
	"zfb":{
		"login" : baseUrl + "/app/zfb/login", //支付宝登录
		"microAppPayOrder": baseUrl + "/app/zfb/microAppPayOrder", //支付宝小程序付款
		"updateOrderStatus": baseUrl + "/app/zfb/updateOrderStatus", //更改支付宝小程序订单状态
		"appPayOrder": baseUrl + "/app/zfb/appPayOrder" //App程序付款
	},
	"login":baseUrl + "/app/user/login",//App登录
	"searchUserOrderList" : baseUrl + "/app/order/searchUserOrderList", //查询用户的订单列表

}

Vue.prototype.zfb={
	app:{
		appid: "2016102500755399",
		privateKey:"MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCkCi+sZXmMlk/X5qiZD+jcD73kYgBCZo6a8dNLY0dRw5igPIMpkbmYy2ebzcEb7iAYnElIgbYyvlSsDNHN2fUGf+Uy/XjI/LL5qLGMH9T7WL3HqSOzvSTIpxVVchp9v8ni9KXaIphGv+mTRxUqKvwhOAujM6g0pq+tF8913fq05mP/y2A17wZ3GKQvd/N3hCdHsDFCuFdoKc5GNn4BUhsaeVO/GwXmVzNwIxhiluo4jh65LnAPYLD2PwQ5xAx7IXPfHdisdZsRNfud236SV2TRNOa64lCJ9SugOAgWTVzFXnqUbruBAH6q6QmtQ2wZXA3R3TROlg4UMwh67dNMPMuzAgMBAAECggEAVyW2OA9c6Mx+NIQs88wY+LhAONG7s4sKndR1XWqr3AtezVn4kKADiuIc9A/2VKFIWerFoAiRRBoLn6/b0lHFs6NEn7c7cQOXDb2KPZg3r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